package org.jeecg.modules.platformMasterEndPoint.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 平台管理员或站长 创建的购物券，对购物券进行管理，比如 创建，查看，编辑，删除
 */
@Data
@TableName("jx_coupons")
public class JxCouponDo {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @TableField("coupon_name")
    private String couponName;

    @TableField("coupon_value")
    private Integer couponValue;

    @TableField("amount_per_user")
    private short amountPerUser;

    @TableField("site_ids")
    private String siteIds;

    @TableField("store_ids")
    private String storeIds;

    @TableField("expired_at")
    private Date expiredAt;

    @TableField("coupons_fee")
    private String couponFee;

    @TableField("del_flag")
    private short delFlag;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;
}
